<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Hardware Abstraction Layer (HAL)</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="logo.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Hardware Abstraction Layer (HAL)</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('group__group__hal__impl__syspm.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle"><div class="title">System Power Management<div class="ingroups"><a class="el" href="group__group__hal__impl.html">CAT1 Implementation Specific</a></div></div></div>
</div><!--header-->
<div class="contents">
<p >On CAT1 devices, the Pin based Hibernate wakeup sources (<a class="el" href="group__group__hal__syspm.html#gga716955af458772e538910575cbf6e1dda9ccdbb4f654ce023bea0fafba50cab53">CYHAL_SYSPM_HIBERNATE_PINA_LOW</a>, <a class="el" href="group__group__hal__syspm.html#gga716955af458772e538910575cbf6e1dda0882eed07391eb7773ea2f4c47a7b5ff">CYHAL_SYSPM_HIBERNATE_PINA_HIGH</a>, <a class="el" href="group__group__hal__syspm.html#gga716955af458772e538910575cbf6e1dda1bf3cfcfb69b48e6b0ef5a525cc6eb3d">CYHAL_SYSPM_HIBERNATE_PINB_LOW</a>, and <a class="el" href="group__group__hal__syspm.html#gga716955af458772e538910575cbf6e1dda69f639b3f33245d1a789fd443b94b47d">CYHAL_SYSPM_HIBERNATE_PINB_HIGH</a>) are mapped to datsheet capabilities as follows:<br  />
 PINA = hibernate_wakeup[0]<br  />
 PINB = hibernate_wakeup[1]. </p>
<p >The CAT1 (PSoC™ 6) Power Management has the following characteristics:<br  />
 <a class="el" href="group__group__hal__syspm.html#gga144e474d3bfb544b207f172d1d8bd633acd2a5522b6591eb77418369e464a3eb1">CYHAL_SYSPM_SYSTEM_NORMAL</a> equates to the Low Power mode<br  />
 <a class="el" href="group__group__hal__syspm.html#gga144e474d3bfb544b207f172d1d8bd633af4060b98561e43a6b930576644af014f">CYHAL_SYSPM_SYSTEM_LOW</a> equates to the Ultra Low Power mode</p>
<h1><a class="anchor" id="group_hal_impl_syspm_ulp"></a>
Switching the System into Ultra Low Power</h1>
<p >Before switching into system Ultra Low Power mode, ensure that the device meets the requirements below:</p>
<ul>
<li>The core regulator voltage is set to <b>0.9 V (nominal)</b> and the following limitations must be meet:</li>
<li>The maximum operating frequency for all Clk_HF paths must not exceed <b>50* MHz</b></li>
<li>The maximum operating frequency for peripheral and slow clock must not exceed <b>25* MHz</b>.</li>
<li>The total current consumption must be less than or equal to <b>20* mA</b></li>
<li>Flash write operations are prohibited. Flash is Read-only in this mode.</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>* - Numbers shown are approximate and real limit values may be different because they are device specific. You should refer to the device datasheet for exact values of maximum frequency and current in system ULP mode.</dd></dl>
<h1><a class="anchor" id="section_hal_impl_syspm_set_system"></a>
section_hal_impl_syspm_set_system</h1>
<p >The callback mode <a class="el" href="group__group__hal__syspm.html#gga5a6a88eb2b6e35dbea25e36b027bf4baa229203f249d95cf1cac7414c1baf66f3">CYHAL_SYSPM_AFTER_DS_WFI_TRANSITION</a> is only applicable for CAT1B devices.</p>
<p >Setting the system state is unsupported on CAT1C devices. For CAT1C devices, <a class="el" href="group__group__hal__results__syspm.html#ga1da0dd0a239743cd61288baf0fd2528d">CYHAL_SYSPM_RSLT_ERR_NOT_SUPPORTED</a> will be returned in the function <a class="el" href="group__group__hal__syspm.html#gaae0157682bad1b2155738e73347afa87">cyhal_syspm_set_system_state</a>. </p>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>Hardware Abstraction Layer (HAL)</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
